package com.PMSys.Dao;

import java.util.List;

import com.PMSys.Demain.Post;

public interface PostDao {
	
	public void addPost(Post poster);

	public Post getPostId(Post selectPoster);

	public List<Post> getAllPost();

	public void deletePost(String id);

	public void updatePost(Post poster);

	public List<Post> getPostbyName(Post selectPost);

	public List<Post> getPostbyType(Post selectPost);
	
	public List<Post> selectByValue(Post post);

	public Post selectById(String p_oldId);

}
